[INFO] cloning repository https://github.com/john-woolley/rustifin
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/john-woolley/rustifin" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohn-woolley%2Frustifin", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohn-woolley%2Frustifin'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] da2e5b7666a72133ce52703c611bf5a92323d0d2
[INFO] testing john-woolley/rustifin against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohn-woolley%2Frustifin" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/john-woolley/rustifin
[INFO] finished tweaking git repo https://github.com/john-woolley/rustifin
[INFO] tweaked toml for git repo https://github.com/john-woolley/rustifin written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/john-woolley/rustifin on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/john-woolley/rustifin already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded proc-macro2 v1.0.78
[INFO] [stderr]   Downloaded pyo3-macros v0.20.2
[INFO] [stderr]   Downloaded pyo3-build-config v0.20.2
[INFO] [stderr]   Downloaded quote v1.0.35
[INFO] [stderr]   Downloaded wasm-bindgen-backend v0.2.91
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.91
[INFO] [stderr]   Downloaded iana-time-zone v0.1.60
[INFO] [stderr]   Downloaded smallvec v1.13.1
[INFO] [stderr]   Downloaded num-traits v0.2.18
[INFO] [stderr]   Downloaded js-sys v0.3.68
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.91
[INFO] [stderr]   Downloaded bumpalo v3.15.0
[INFO] [stderr]   Downloaded chrono v0.4.34
[INFO] [stderr]   Downloaded syn v2.0.49
[INFO] [stderr]   Downloaded parking_lot_core v0.9.9
[INFO] [stderr]   Downloaded pyo3 v0.20.2
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.91
[INFO] [stderr]   Downloaded libc v0.2.153
[INFO] [stderr]   Downloaded target-lexicon v0.12.13
[INFO] [stderr]   Downloaded parking_lot v0.12.1
[INFO] [stderr]   Downloaded pyo3-ffi v0.20.2
[INFO] [stderr]   Downloaded pyo3-macros-backend v0.20.2
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.91
[INFO] [stderr]   Downloaded unindent v0.2.3
[INFO] [stderr]   Downloaded indoc v2.0.4
[INFO] [stderr]   Downloaded log v0.4.20
[INFO] [stderr]   Downloaded cc v1.0.83
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 82bb2616ab910df1cf58074bb1f04002b12c6e3d6b016e7240227b282308d3f4
[INFO] running `Command { std: "docker" "start" "-a" "82bb2616ab910df1cf58074bb1f04002b12c6e3d6b016e7240227b282308d3f4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "82bb2616ab910df1cf58074bb1f04002b12c6e3d6b016e7240227b282308d3f4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "82bb2616ab910df1cf58074bb1f04002b12c6e3d6b016e7240227b282308d3f4", kill_on_drop: false }`
[INFO] [stdout] 82bb2616ab910df1cf58074bb1f04002b12c6e3d6b016e7240227b282308d3f4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9be675ec5a6dcb0758a6c5edaaeb341f2d4f8f55d85bc0e39551300e19425520
[INFO] running `Command { std: "docker" "start" "-a" "9be675ec5a6dcb0758a6c5edaaeb341f2d4f8f55d85bc0e39551300e19425520", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling target-lexicon v0.12.13
[INFO] [stderr]    Compiling proc-macro2 v1.0.78
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]    Compiling smallvec v1.13.1
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling indoc v2.0.4
[INFO] [stderr]    Compiling iana-time-zone v0.1.60
[INFO] [stderr]    Compiling unindent v0.2.3
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling memoffset v0.9.0
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]    Compiling pyo3-build-config v0.20.2
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling syn v2.0.49
[INFO] [stderr]    Compiling chrono v0.4.34
[INFO] [stderr]    Compiling pyo3-ffi v0.20.2
[INFO] [stderr]    Compiling pyo3 v0.20.2
[INFO] [stderr]    Compiling pyo3-macros-backend v0.20.2
[INFO] [stderr]    Compiling pyo3-macros v0.20.2
[INFO] [stderr]    Compiling rustifin v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Datelike`
[INFO] [stdout]  --> src/lib.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::{Datelike, NaiveDate};
[INFO] [stdout]   |              ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/lib.rs:21:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | #[pymethods]
[INFO] [stdout]    | -^^^^^^^^^^^
[INFO] [stdout]    | |
[INFO] [stdout]    | `PyClassImplCollector` is not local
[INFO] [stdout]    | `PyClassNewTextSignature` is not local
[INFO] [stdout]    | move the `impl` block outside of this function `trampoline` and up 4 bodies
[INFO] [stdout] 22 | impl Date {
[INFO] [stdout]    |      ----
[INFO] [stdout]    |      |
[INFO] [stdout]    |      `Date` is not local
[INFO] [stdout]    |      `Date` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/lib.rs:58:1
[INFO] [stdout]    |
[INFO] [stdout] 58 | #[pymethods]
[INFO] [stdout]    | -^^^^^^^^^^^
[INFO] [stdout]    | |
[INFO] [stdout]    | `PyClassImplCollector` is not local
[INFO] [stdout]    | `PyClassNewTextSignature` is not local
[INFO] [stdout]    | move the `impl` block outside of this function `trampoline` and up 4 bodies
[INFO] [stdout] 59 | impl CashFlow {
[INFO] [stdout]    |      --------
[INFO] [stdout]    |      |
[INFO] [stdout]    |      `CashFlow` is not local
[INFO] [stdout]    |      `CashFlow` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/lib.rs:118:1
[INFO] [stdout]     |
[INFO] [stdout] 118 | #[pymethods]
[INFO] [stdout]     | -^^^^^^^^^^^
[INFO] [stdout]     | |
[INFO] [stdout]     | `PyClassImplCollector` is not local
[INFO] [stdout]     | `PyClassNewTextSignature` is not local
[INFO] [stdout]     | move the `impl` block outside of this function `trampoline` and up 4 bodies
[INFO] [stdout] 119 | impl CashFlowList {
[INFO] [stdout]     |      ------------
[INFO] [stdout]     |      |
[INFO] [stdout]     |      `CashFlowList` is not local
[INFO] [stdout]     |      `CashFlowList` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/lib.rs:190:26
[INFO] [stdout]     |
[INFO] [stdout] 190 |         for year in as_of.borrow().year..self.maturity.year {
[INFO] [stdout]     |                          ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `Date` does not implement `Borrow`, so calling `borrow` on `&Date` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 190 -         for year in as_of.borrow().year..self.maturity.year {
[INFO] [stdout] 190 +         for year in as_of.year..self.maturity.year {
[INFO] [stdout]     |
[INFO] [stdout] help: if you meant to clone `Date`, implement `Clone` for it
[INFO] [stdout]     |
[INFO] [stdout]   9 + #[derive(Clone)]
[INFO] [stdout]  10 | struct Date {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/lib.rs:191:13
[INFO] [stdout]     |
[INFO] [stdout] 191 |             cash_flows.add(CashFlow::new(self.coupon, Date::new(1, 1, year)));
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 191 |             let _ = cash_flows.add(CashFlow::new(self.coupon, Date::new(1, 1, year)));
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/lib.rs:193:9
[INFO] [stdout]     |
[INFO] [stdout] 193 | /         cash_flows.add(CashFlow::new(
[INFO] [stdout] 194 | |             self.coupon + self.principal, self.maturity.clone())
[INFO] [stdout] 195 | |         );
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 193 |         let _ = cash_flows.add(CashFlow::new(
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/lib.rs:171:1
[INFO] [stdout]     |
[INFO] [stdout] 171 | #[pymethods]
[INFO] [stdout]     | -^^^^^^^^^^^
[INFO] [stdout]     | |
[INFO] [stdout]     | `PyClassImplCollector` is not local
[INFO] [stdout]     | `PyClassNewTextSignature` is not local
[INFO] [stdout]     | move the `impl` block outside of this function `trampoline` and up 4 bodies
[INFO] [stdout] 172 | impl Bond {
[INFO] [stdout]     |      ----
[INFO] [stdout]     |      |
[INFO] [stdout]     |      `Bond` is not local
[INFO] [stdout]     |      `Bond` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.05s
[INFO] running `Command { std: "docker" "inspect" "9be675ec5a6dcb0758a6c5edaaeb341f2d4f8f55d85bc0e39551300e19425520", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9be675ec5a6dcb0758a6c5edaaeb341f2d4f8f55d85bc0e39551300e19425520", kill_on_drop: false }`
[INFO] [stdout] 9be675ec5a6dcb0758a6c5edaaeb341f2d4f8f55d85bc0e39551300e19425520
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a8af9b3f847167afee1e8c7d198cf6c688d9a082cf438165e396d1fd2295aa11
[INFO] running `Command { std: "docker" "start" "-a" "a8af9b3f847167afee1e8c7d198cf6c688d9a082cf438165e396d1fd2295aa11", kill_on_drop: false }`
[INFO] [stderr]    Compiling rustifin v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Datelike`
[INFO] [stdout]  --> src/lib.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::{Datelike, NaiveDate};
[INFO] [stdout]   |              ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/lib.rs:21:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | #[pymethods]
[INFO] [stdout]    | -^^^^^^^^^^^
[INFO] [stdout]    | |
[INFO] [stdout]    | `PyClassImplCollector` is not local
[INFO] [stdout]    | `PyClassNewTextSignature` is not local
[INFO] [stdout]    | move the `impl` block outside of this function `trampoline` and up 4 bodies
[INFO] [stdout] 22 | impl Date {
[INFO] [stdout]    |      ----
[INFO] [stdout]    |      |
[INFO] [stdout]    |      `Date` is not local
[INFO] [stdout]    |      `Date` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/lib.rs:58:1
[INFO] [stdout]    |
[INFO] [stdout] 58 | #[pymethods]
[INFO] [stdout]    | -^^^^^^^^^^^
[INFO] [stdout]    | |
[INFO] [stdout]    | `PyClassImplCollector` is not local
[INFO] [stdout]    | `PyClassNewTextSignature` is not local
[INFO] [stdout]    | move the `impl` block outside of this function `trampoline` and up 4 bodies
[INFO] [stdout] 59 | impl CashFlow {
[INFO] [stdout]    |      --------
[INFO] [stdout]    |      |
[INFO] [stdout]    |      `CashFlow` is not local
[INFO] [stdout]    |      `CashFlow` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/lib.rs:118:1
[INFO] [stdout]     |
[INFO] [stdout] 118 | #[pymethods]
[INFO] [stdout]     | -^^^^^^^^^^^
[INFO] [stdout]     | |
[INFO] [stdout]     | `PyClassImplCollector` is not local
[INFO] [stdout]     | `PyClassNewTextSignature` is not local
[INFO] [stdout]     | move the `impl` block outside of this function `trampoline` and up 4 bodies
[INFO] [stdout] 119 | impl CashFlowList {
[INFO] [stdout]     |      ------------
[INFO] [stdout]     |      |
[INFO] [stdout]     |      `CashFlowList` is not local
[INFO] [stdout]     |      `CashFlowList` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/lib.rs:190:26
[INFO] [stdout]     |
[INFO] [stdout] 190 |         for year in as_of.borrow().year..self.maturity.year {
[INFO] [stdout]     |                          ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `Date` does not implement `Borrow`, so calling `borrow` on `&Date` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 190 -         for year in as_of.borrow().year..self.maturity.year {
[INFO] [stdout] 190 +         for year in as_of.year..self.maturity.year {
[INFO] [stdout]     |
[INFO] [stdout] help: if you meant to clone `Date`, implement `Clone` for it
[INFO] [stdout]     |
[INFO] [stdout]   9 + #[derive(Clone)]
[INFO] [stdout]  10 | struct Date {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/lib.rs:191:13
[INFO] [stdout]     |
[INFO] [stdout] 191 |             cash_flows.add(CashFlow::new(self.coupon, Date::new(1, 1, year)));
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 191 |             let _ = cash_flows.add(CashFlow::new(self.coupon, Date::new(1, 1, year)));
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/lib.rs:193:9
[INFO] [stdout]     |
[INFO] [stdout] 193 | /         cash_flows.add(CashFlow::new(
[INFO] [stdout] 194 | |             self.coupon + self.principal, self.maturity.clone())
[INFO] [stdout] 195 | |         );
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 193 |         let _ = cash_flows.add(CashFlow::new(
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/lib.rs:171:1
[INFO] [stdout]     |
[INFO] [stdout] 171 | #[pymethods]
[INFO] [stdout]     | -^^^^^^^^^^^
[INFO] [stdout]     | |
[INFO] [stdout]     | `PyClassImplCollector` is not local
[INFO] [stdout]     | `PyClassNewTextSignature` is not local
[INFO] [stdout]     | move the `impl` block outside of this function `trampoline` and up 4 bodies
[INFO] [stdout] 172 | impl Bond {
[INFO] [stdout]     |      ----
[INFO] [stdout]     |      |
[INFO] [stdout]     |      `Bond` is not local
[INFO] [stdout]     |      `Bond` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.99s
[INFO] running `Command { std: "docker" "inspect" "a8af9b3f847167afee1e8c7d198cf6c688d9a082cf438165e396d1fd2295aa11", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a8af9b3f847167afee1e8c7d198cf6c688d9a082cf438165e396d1fd2295aa11", kill_on_drop: false }`
[INFO] [stdout] a8af9b3f847167afee1e8c7d198cf6c688d9a082cf438165e396d1fd2295aa11
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 7885586d208e8b7696d49b0c8afb57eaab95327775546e8611563da46f06d7aa
[INFO] running `Command { std: "docker" "start" "-a" "7885586d208e8b7696d49b0c8afb57eaab95327775546e8611563da46f06d7aa", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `Datelike`
[INFO] [stderr]  --> src/lib.rs:1:14
[INFO] [stderr]   |
[INFO] [stderr] 1 | use chrono::{Datelike, NaiveDate};
[INFO] [stderr]   |              ^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/lib.rs:21:1
[INFO] [stderr]    |
[INFO] [stderr] 21 | #[pymethods]
[INFO] [stderr]    | -^^^^^^^^^^^
[INFO] [stderr]    | |
[INFO] [stderr]    | `PyClassImplCollector` is not local
[INFO] [stderr]    | `PyClassNewTextSignature` is not local
[INFO] [stderr]    | move the `impl` block outside of this function `trampoline` and up 4 bodies
[INFO] [stderr] 22 | impl Date {
[INFO] [stderr]    |      ----
[INFO] [stderr]    |      |
[INFO] [stderr]    |      `Date` is not local
[INFO] [stderr]    |      `Date` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stderr]    = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/lib.rs:58:1
[INFO] [stderr]    |
[INFO] [stderr] 58 | #[pymethods]
[INFO] [stderr]    | -^^^^^^^^^^^
[INFO] [stderr]    | |
[INFO] [stderr]    | `PyClassImplCollector` is not local
[INFO] [stderr]    | `PyClassNewTextSignature` is not local
[INFO] [stderr]    | move the `impl` block outside of this function `trampoline` and up 4 bodies
[INFO] [stderr] 59 | impl CashFlow {
[INFO] [stderr]    |      --------
[INFO] [stderr]    |      |
[INFO] [stderr]    |      `CashFlow` is not local
[INFO] [stderr]    |      `CashFlow` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]    --> src/lib.rs:118:1
[INFO] [stderr]     |
[INFO] [stderr] 118 | #[pymethods]
[INFO] [stderr]     | -^^^^^^^^^^^
[INFO] [stderr]     | |
[INFO] [stderr]     | `PyClassImplCollector` is not local
[INFO] [stderr]     | `PyClassNewTextSignature` is not local
[INFO] [stderr]     | move the `impl` block outside of this function `trampoline` and up 4 bodies
[INFO] [stderr] 119 | impl CashFlowList {
[INFO] [stderr]     |      ------------
[INFO] [stderr]     |      |
[INFO] [stderr]     |      `CashFlowList` is not local
[INFO] [stderr]     |      `CashFlowList` is not local
[INFO] [stderr]     |
[INFO] [stderr]     = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]     = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros`
[INFO] [stderr]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]     = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: call to `.borrow()` on a reference in this situation does nothing
[INFO] [stderr]    --> src/lib.rs:190:26
[INFO] [stderr]     |
[INFO] [stderr] 190 |         for year in as_of.borrow().year..self.maturity.year {
[INFO] [stderr]     |                          ^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: the type `Date` does not implement `Borrow`, so calling `borrow` on `&Date` copies the reference, which does not do anything and can be removed
[INFO] [stderr]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stderr] help: remove this redundant call
[INFO] [stderr]     |
[INFO] [stderr] 190 -         for year in as_of.borrow().year..self.maturity.year {
[INFO] [stderr] 190 +         for year in as_of.year..self.maturity.year {
[INFO] [stderr]     |
[INFO] [stderr] help: if you meant to clone `Date`, implement `Clone` for it
[INFO] [stderr]     |
[INFO] [stderr]   9 + #[derive(Clone)]
[INFO] [stderr]  10 | struct Date {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/lib.rs:191:13
[INFO] [stderr]     |
[INFO] [stderr] 191 |             cash_flows.add(CashFlow::new(self.coupon, Date::new(1, 1, year)));
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 191 |             let _ = cash_flows.add(CashFlow::new(self.coupon, Date::new(1, 1, year)));
[INFO] [stderr]     |             +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/lib.rs:193:9
[INFO] [stderr]     |
[INFO] [stderr] 193 | /         cash_flows.add(CashFlow::new(
[INFO] [stderr] 194 | |             self.coupon + self.principal, self.maturity.clone())
[INFO] [stderr] 195 | |         );
[INFO] [stderr]     | |_________^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 193 |         let _ = cash_flows.add(CashFlow::new(
[INFO] [stderr]     |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]    --> src/lib.rs:171:1
[INFO] [stderr]     |
[INFO] [stderr] 171 | #[pymethods]
[INFO] [stderr]     | -^^^^^^^^^^^
[INFO] [stderr]     | |
[INFO] [stderr]     | `PyClassImplCollector` is not local
[INFO] [stderr]     | `PyClassNewTextSignature` is not local
[INFO] [stderr]     | move the `impl` block outside of this function `trampoline` and up 4 bodies
[INFO] [stderr] 172 | impl Bond {
[INFO] [stderr]     |      ----
[INFO] [stderr]     |      |
[INFO] [stderr]     |      `Bond` is not local
[INFO] [stderr]     |      `Bond` is not local
[INFO] [stderr]     |
[INFO] [stderr]     = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]     = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros`
[INFO] [stderr]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]     = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: `rustifin` (lib test) generated 8 warnings (run `cargo fix --lib -p rustifin --tests` to apply 1 suggestion)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rustifin-07f381efadafed35)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "7885586d208e8b7696d49b0c8afb57eaab95327775546e8611563da46f06d7aa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7885586d208e8b7696d49b0c8afb57eaab95327775546e8611563da46f06d7aa", kill_on_drop: false }`
[INFO] [stdout] 7885586d208e8b7696d49b0c8afb57eaab95327775546e8611563da46f06d7aa
